package com.example.springlean.pojo;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
@Data

public class Emp {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Integer gender;
    private String phone;
    private String job;
    private Integer salary;
    private String image;
    private LocalDate entryDate;
    private Integer deptId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    //封装部门名称数
    private String deptName; //部门名称
}
